
const createTypes = (types:Array<string>,prefix:string)=>{
    let result:any = {};
    (types||[]).forEach((type:string) => {
         result[type] = type + prefix;
    });
    return result;
}

export default createTypes([
    'TEST_MIAN',
],'_main')